package adv324;

/**
 * @author oldliu
 * @since 1.0
 */
public class StrTest3 {
    public static void main(String[] args) {
        String str="教育改变生活，气度决定成就";
        String s2=str.substring(3,6);
        System.out.println(s2);
        String s3="   ab    c      ";
        System.out.println(s3.length());
        s3=s3.trim();
        System.out.println(s3.length());
    }
}
